import request from "@/utils/request";

/* 前台企业用户 列表获取 列表查询*/
export function queryListRequest(data) {
  return request({
    url: "/management-admin/databaseSysTenant/queryByPage",
    method: "post",
    data,
  });
}

//启用禁用
export function updateStatusRequest(data) {
  return request({
    url: "/management-admin/databaseSysTenant/enable",
    method: "post",
    data,
  });
}

//重置密码
export function updatePasswordRequest(id) {
  return request({
    url: "/management-admin/databaseSysTenant/reset?id=" + id,
    method: "get",
  });
}
